#include <windows.h>

#pragma comment(lib, "ControlsPack.lib")
#pragma comment(lib, "comctl32.lib")
#pragma comment(lib, "core.lib")
#pragma comment(lib, "maxutil.lib")
#pragma comment(lib, "paramblk2.lib")
#pragma comment(lib, "igame.lib")

#pragma comment(lib, "MainPlugin.lib")

#include <max.h>

extern "C"
{
	__declspec(dllimport) ClassDesc * LibClassDesc(int i);
}

int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
	ClassDesc *classDesc = LibClassDesc(0);
	SceneExport *se = (SceneExport*)classDesc ->Create();
	se ->DoExport((TCHAR*)"c:\\majak.xxx", NULL, NULL);
	return 0;
}
